package com.example.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;

/**
 * 黑名单表
 *
 * @TableName t_blacklist
 */
@TableName(value = "t_blacklist")
@Data
@ToString
public class Blacklist implements Serializable {
	@Serial
	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	@Schema(description = "黑名单ID，主键，自增长")
	@TableId(type = IdType.AUTO)
	private Long blacklistId;

	@Schema(description = "被拉黑用户ID")
	private Long userId;

	@Schema(description = "商家ID")
	private Long merchantId;

	@Schema(description = "拉黑原因")
	private String reason;
}